package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sys_user_extra")
public class SysUserExtra {
    @Id
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 别名,极光推送
     */
    private String alias;

    /**
     * QQ openId
     */
    @Column(name = "qq_open_id")
    private String qqOpenId;

    /**
     * 微信openId
     */
    @Column(name = "wechat_open_id")
    private String wechatOpenId;

    /**
     * 华为的设备token
     */
    @Column(name = "device_token")
    private String deviceToken;

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取别名,极光推送
     *
     * @return alias - 别名,极光推送
     */
    public String getAlias() {
        return alias;
    }

    /**
     * 设置别名,极光推送
     *
     * @param alias 别名,极光推送
     */
    public void setAlias(String alias) {
        this.alias = alias;
    }

    /**
     * 获取QQ openId
     *
     * @return qq_open_id - QQ openId
     */
    public String getQqOpenId() {
        return qqOpenId;
    }

    /**
     * 设置QQ openId
     *
     * @param qqOpenId QQ openId
     */
    public void setQqOpenId(String qqOpenId) {
        this.qqOpenId = qqOpenId;
    }

    /**
     * 获取微信openId
     *
     * @return wechat_open_id - 微信openId
     */
    public String getWechatOpenId() {
        return wechatOpenId;
    }

    /**
     * 设置微信openId
     *
     * @param wechatOpenId 微信openId
     */
    public void setWechatOpenId(String wechatOpenId) {
        this.wechatOpenId = wechatOpenId;
    }

    /**
     * 获取华为的设备token
     *
     * @return device_token - 华为的设备token
     */
    public String getDeviceToken() {
        return deviceToken;
    }

    /**
     * 设置华为的设备token
     *
     * @param deviceToken 华为的设备token
     */
    public void setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
    }
}